import request from '/@/utils/request';
export function platformApi() {
	return {
		index: (params) => {
			return request({
				url: '/group/platform/index',
				method: 'get',
				params
			});
		},
		add: (data) => {
			return request({
				url: '/group/platform/add',
				method: 'post',
				data,
			});
		},
		edit: (data) => {
			return request({
				url: '/group/platform/edit',
				method: 'post',
				data,
			});
		},
		del: (data) => {
			return request({
				url: '/group/platform/del',
				method: 'post',
				data,
			});
		},
		info: (params) => {
			return request({
				url: '/group/platform/info',
				method: 'get',
				params,
			});
		},
	};
}